<template>
    <!-- <Tree></Tree> -->
        <ul>
            <li v-for="(item,index) in datas" :key="index">
                {{ item.label }}
                <Tree  
                :datas='item.children'></Tree>
            </li>
        </ul>
</template>
<script>
import Tree from './Tree'
export default {
    props:["datas"],
    components:{Tree},
    name:"Tree"
}
</script>